package com.xjtu.conan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 漫画评论表
 * </p>
 *
 * @author 一只黑猩猩
 * @since 2021-04-19
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DrawCommentsInfo对象", description="漫画评论表")
public class DrawCommentsInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "漫画评论id")
    @TableId(value = "dcid", type = IdType.ID_WORKER)
    private Long dcid;

    @ApiModelProperty(value = "漫画评论内容")
    private String dcContent;

    @ApiModelProperty(value = "漫画评论创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "漫画评论更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "所属漫画id")
    private Long drawId;

    @ApiModelProperty(value = "更新者id")
    private Long userId;

    @ApiModelProperty(value = "父评论id")
    private Long parentId;


}
